using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace HLLib
{

    public class HLBigWorldRainInfo
    {

        /// <summary>
        /// HLBigWorldRainInfo
        /// </summary>
        public HLBigWorldRainInfo()
        {

        }


        /// <summary>
        /// ~HLBigWorldRainInfo
        /// </summary>
        ~HLBigWorldRainInfo()
        {

        }


        #region ---------------------------- RainFall ---------------------------------
        /// <summary>
        ///  ForceOverLifeTimeX
        /// </summary>
        public double ForceOverLifeTimeX;

        /// <summary>
        ///  ForceOverLifeTimeX
        /// </summary>
        public double ForceOverLifeTimeY;

        /// <summary>
        ///  ForceOverLifeTimeX
        /// </summary>
        public double ForceOverLifeTimeZ;

        /// <summary>
        /// RateOverTime
        /// </summary>
        public double RateOverTime;
        #endregion

        #region ---------------------------- Puddle -----------------------------------
        /// <summary>
        /// Smoothness
        /// </summary>
        public double Smoothness;

        /// <summary>
        /// Stength
        /// </summary>
        public double Stength;

        /// <summary>
        /// Tiling
        /// </summary>
        public double Tiling;

        /// <summary>
        /// PuddleColor_R
        /// </summary>
        public double PuddleColor_R;

        /// <summary>
        /// PuddleColor_G
        /// </summary>
        public double PuddleColor_G;

        /// <summary>
        /// PuddleColor_B
        /// </summary>
        public double PuddleColor_B;

        /// <summary>
        /// PuddleColor_A
        /// </summary>
        public double PuddleColor_A;

        /// <summary>
        /// Fps
        /// </summary>
        public double Fps;
        #endregion
    }

    /// <summary>
    /// HLBigWorldRainPanelData
    /// </summary>
    public class HLBigWorldRainPanelData
    {
        /// <summary>
        /// HLBigWorldRainPanelData
        /// </summary>
        public HLBigWorldRainPanelData()
        {
            list_hlbigworld_raininfo = new List<HLBigWorldRainInfo>();
        }


        /// <summary>
        /// ~HLBigWorldRainPanelData
        /// </summary>
        ~HLBigWorldRainPanelData()
        {
            this.ClearHLBigWorldRain();
            Debug.Log("~HLBigWorldRainPanelData scuess !!!");
        }


        /// <summary>
        /// 
        /// </summary>
        public void ClearHLBigWorldRain()
        {
            // list_hlbigworld_raininfo:
            if (null != list_hlbigworld_raininfo)
            {
                for (int i = list_hlbigworld_raininfo.Count; --i >= 0;)
                {
                    list_hlbigworld_raininfo[i] = null;
                    list_hlbigworld_raininfo.RemoveAt(i);
                }

                list_hlbigworld_raininfo.Clear();
                list_hlbigworld_raininfo = null;
            }
        }

        public List<HLBigWorldRainInfo> list_hlbigworld_raininfo;

        /// <summary>
        /// SceneName
        /// </summary>
        public string SceneName;

        /// <summary>
        /// RainNum
        /// </summary>
        public int RainNum;


    }

}

